import request from '@/utils/request'
// 查询推广内容数据列表
export function selectByConditionList(query) {
  return request({
    url: '/marketing/BiPromotionVideoDwd/selectByConditionList',
    method: 'get',
    params: query
  })
}
// 查询推广内容数据列表
export function selectVideoStatistics(query) {
  return request({
    url: '/marketing/BiPromotionVideoDwd/selectVideoStatistics',
    method: 'get',
    params: query
  })
}
// 查询推广内容（短视频）数据列表
export function listBiPromotionVideoDwd(query) {
  return request({
    url: '/marketing/BiPromotionVideoDwd/list',
    method: 'get',
    params: query
  })
}

// 查询推广内容（短视频）数据详细
export function getBiPromotionVideoDwd(id) {
  return request({
    url: '/marketing/BiPromotionVideoDwd/' + id,
    method: 'get'
  })
}

// 新增推广内容（短视频）数据
export function addBiPromotionVideoDwd(data) {
  return request({
    url: '/marketing/BiPromotionVideoDwd',
    method: 'post',
    data: data
  })
}

// 修改推广内容（短视频）数据
export function updateBiPromotionVideoDwd(data) {
  return request({
    url: '/marketing/BiPromotionVideoDwd',
    method: 'put',
    data: data
  })
}

// 删除推广内容（短视频）数据
export function delBiPromotionVideoDwd(id) {
  return request({
    url: '/marketing/BiPromotionVideoDwd/' + id,
    method: 'delete'
  })
}
